package com.hanrui.android.net.contract.message.audit.probusinfo;

import android.content.Context;

import com.hanrui.android.library.base.BaseContract;
import com.hanrui.android.model.GetNextActvityBean;
import com.hanrui.android.model.ImpSubBean;
import com.hanrui.android.model.SubEntryBean;

/**
 * 任务书
 *
 */

public interface ProBusInfoBizContract {
    interface View extends BaseContract.BaseView{
        void getNextActivity(GetNextActvityBean data);
        void proBusInfoBizApproval(int code);
        void getSubEntry(SubEntryBean data);
        void getImpSub(ImpSubBean data);
    }

    interface Presenter extends BaseContract.BasePresenter<ProBusInfoBizContract.View>{
        void getNextActivity(Context context, String taskId, String procInsId, String bizId);
        void proBusInfoBizApproval(Context context,
                                   String nextAssigneeList,
                                   String taskId,
                                   String procInsId,
                                   String bizId,
                                   String transitionId,
                                   String comment,
                                   String subEntry,
                                   String impSub);
        void getSubEntry(Context context);
        void getImpSub(Context context);
    }
}
